import { MessageItem } from "../coponents/MessageList"

export function formatTodo({ title, createTime, ...otr }: any): MessageItem {
  return {
    time: createTime,
    content: title,
    active: true,
    ...otr,
  }
}
